package sj;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class testSpring {
    @Test
    public void testSpring(){
        ApplicationContext context = new ClassPathXmlApplicationContext("sj.xml");
        LuFeiSpring luFeiSpring = (LuFeiSpring) context.getBean("lf");
        luFeiSpring.getZgl();
    }
}
